package com.ocom.oauth;

import com.ocom.security.annotation.EnableYoCiResourceServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.bind.annotation.CrossOrigin;

/**
 * auth主启动类
 *
 */
@EnableYoCiResourceServer
@EnableFeignClients
@Configuration
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class OauthApplication {
	public static void main(String[] args) {
		SpringApplication.run(OauthApplication.class, args);
	}
}
